<!--
 * @Author: xuwejie 1529315455@qq.com
 * @Date: 2023-11-08 09:51:45
 * @LastEditors: raoyonggang 11886335+ryg321@user.noreply.gitee.com
 * @LastEditTime: 2024-04-26 14:49:51
 * @FilePath: \my-electron\src\App.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  mounted() {
    window.addEventListener("keydown", (event) => {
      if (event.key === "F11") {
        event.preventDefault(); // 阻止默认行为
        // 在按下 F11 键时执行相应操作
      }
    });
  },
  methods: {},
};
</script>

<style>
html,
body {
  padding: 0;
  margin: 0;
}
</style>
